5. Installation Example on K3s

5.1 K3s Deployment Scope

K3s is a lightweight Kubernetes distribution that can run IX25 in small, lab, edge, or non-production environments. This chapter provides a concrete runtime example. The same Helm chart and values model apply to other Kubernetes distributions.

For production use, validate capacity, storage, backup, ingress, and security controls carefully. A single-node K3s environment has limited fault tolerance.

5.2 K3s Prerequisites

You need:

  • A running K3s cluster.

  • kubectl access to the cluster.

  • Helm 3.

  • Traefik with IngressRoute and Middleware CRDs.

  • A storage class for persistent volumes.

  • DNS or local host resolution for the IX25 base domain.

  • TLS and Quay pull Secrets.

  • Complete NO_PROXY coverage for localhost, node IPs, node hostnames, service CIDR, pod CIDR, .svc, and .cluster.local when K3s is configured with an HTTP proxy.

Check cluster access:

Kopieren
kubectl get nodes
kubectl get storageclass

For proxied environments, set the proxy variables in /etc/systemd/system/k3s.service.env on servers and /etc/systemd/system/k3s-agent.service.env on agents. Restart K3s after changing those files.

5.3 Install or Prepare K3s

Install K3s using your organization's approved method. If you use the default K3s Traefik installation, verify that it includes the CRDs required by IX25:

Kopieren
kubectl get crd ingressroutes.traefik.io middlewares.traefik.io

If your K3s installation disables Traefik, install Traefik separately before deploying IX25.

5.4 Verify Cluster Access

Kopieren
kubectl cluster-info
kubectl get pods -A

Resolve any node, DNS, storage, or ingress issues before installing IX25.

5.5 Configure Traefik for IX25

IX25 routes are created as Traefik custom resources. The chart does not create a standard Kubernetes Ingress.

Verify Traefik is running:

Kopieren
kubectl get pods -A | grep -i traefik

Verify the CRDs:

Kopieren
kubectl get crd ingressroutes.traefik.io middlewares.traefik.io

5.6 Configure DNS or Hostname Resolution

Choose a base domain, for example:

Kopieren
ix25.example.internal

Ensure the name resolves to the K3s node or load balancer that receives Traefik traffic. For a small internal K3s environment, this may be an internal DNS record. For a temporary lab setup, an administrator may use local host entries.

Optional endpoints require additional names:

  • grafana.<baseDomain>

  • pgadmin.<baseDomain>

  • rustfs.<baseDomain>

5.7 Create TLS and Pull Secrets

Kopieren
kubectl create namespace ix25 || true

kubectl -n ix25 create secret tls ix25-tls \
  --cert=./cert.pem \
  --key=./key.pem

kubectl -n ix25 create secret docker-registry quay-pull-secret \
  --docker-server=quay.io \
  --docker-username="$QUAY_USERNAME" \
  --docker-password="$QUAY_PASSWORD"

Use a certificate from your PKI or ACME workflow. Self-signed certificates are suitable only for controlled evaluation.

5.8 Prepare K3s-Specific Values

Example values.k3s.yaml:

Kopieren
global:
  baseDomain: ix25.example.internal
  imagePullSecrets:
    - quay-pull-secret

ingress:
  tls:
    secretName: ix25-tls

observability:
  mode: lgtm
  logs:
    enabled: true

s3:
  provider: rustfs

If the K3s storage class is not the default, set storage class names in the relevant persistence blocks.

5.9 Install IX25 on K3s

Kopieren
helm lint ./ix25

helm upgrade --install ix25 ./ix25 \
  --namespace ix25 --create-namespace \
  -f ./values.k3s.yaml

Alternatively, install the chart from the public OCI registry:

Kopieren
helm upgrade --install ix25 \
  oci://registry-1.docker.io/intrexx/ix25-helm-deployment \
  --version 1.12.7 \
  --namespace ix25 --create-namespace \
  -f ./values.k3s.yaml \
  --set global.baseDomain=ix25.example.internal \
  --set ingress.tls.secretName=ix25-tls \
  --set global.imagePullSecrets[0]=quay-pull-secret

When values are already defined in values.k3s.yaml, the matching --set flags are optional. Keep them only when you intentionally want command-line values to override the file.

5.10 Verify IX25 on K3s

Kopieren
kubectl -n ix25 get pods
kubectl -n ix25 get jobs
kubectl -n ix25 get ingressroutes.traefik.io
kubectl -n ix25 get svc
helm status ix25 -n ix25

Before the completion TTL removes it, confirm that the Studio CLI initialization Job reached Complete:

Kopieren
kubectl -n ix25 get jobs -l app.kubernetes.io/component=studio-cli-init
kubectl -n ix25 logs job/<studio-cli-init-job-name>

Open:

Kopieren
https://<baseDomain>/

5.11 K3s Operational Notes

For K3s environments:

  • Verify storage behavior before relying on bundled PostgreSQL or RustFS.

  • Avoid assuming single-node K3s provides production availability.

  • Size disk space for PVCs, logs, object storage, and backups.

  • Keep backup storage outside the IX25 cluster.

  • If Fluent Bit cannot follow container log symlinks, configure observability.logs.hostPaths.runtimeContainers for the runtime path used by the node.

5.12 Cleanup

Kopieren
helm uninstall ix25 -n ix25
kubectl delete namespace ix25